home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / datalist / datalist.exe / %MAINDIR% / SAMPLES / Sample9 / FONT.H < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-09  |  1.1 KB  |  43 lines

  1. #ifndef __FONT_H__
  2. #define __FONT_H__
  3.  
  4. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  5.  
  6. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  7. //  Microsoft Visual C++, your modifications will be overwritten.
  8.  
  9. /////////////////////////////////////////////////////////////////////////////
  10. // COleFont wrapper class
  11.  
  12. class COleFont : public COleDispatchDriver
  13. {
  14. public:
  15.     COleFont() {}        // Calls COleDispatchDriver default constructor
  16.     COleFont(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  17.     COleFont(const COleFont& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  18.  
  19. // Attributes
  20. public:
  21.     CString GetName();
  22.     void SetName(LPCTSTR);
  23.     CY GetSize();
  24.     void SetSize(const CY&);
  25.     BOOL GetBold();
  26.     void SetBold(BOOL);
  27.     BOOL GetItalic();
  28.     void SetItalic(BOOL);
  29.     BOOL GetUnderline();
  30.     void SetUnderline(BOOL);
  31.     BOOL GetStrikethrough();
  32.     void SetStrikethrough(BOOL);
  33.     short GetWeight();
  34.     void SetWeight(short);
  35.     short GetCharset();
  36.     void SetCharset(short);
  37.  
  38. // Operations
  39. public:
  40. };
  41.  
  42. #endif // __FONT_H__
  43.